package com.sgb.kjwl.model.entity.self;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: 杨畔
 * @date: 4/8/21 3:41 PM
 * @Description: 货源订阅列表数据
 */
public class SubSetListEntity {
    private String title;
    private List<CarriageSelectEntity> list;

    public SubSetListEntity() {
    }

    public SubSetListEntity(String title, List<CarriageSelectEntity> list) {
        this.title = title;
        if (list == null) {
            this.list = new ArrayList<>();
        } else {
            this.list = list;
        }
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<CarriageSelectEntity> getList() {
        return list;
    }

    public void setList(List<CarriageSelectEntity> list) {
        this.list = list;
    }
}
